<html>
	<head>
	 <style type="text/css">
.w80 {
    padding-top: 5px;
    width: 80px;
}
.cBox {
    text-align: center;
}
.fl {
    float: left;
}
.con_box {
    background-color: #FFFFFF;
    color: #575757;
    padding: 6px 0 12px;
}
.w240 {
    width: 240px;
}
a {
    color: #575757;
    text-decoration: none;
}
</style>
	</head>
	<body>

<?php
/*
Template Name: Dung template
*/
?>
<?php
echo wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'select_name', 'hierarchical' => true));
$args=array(
  'orderby' => 'name',
  'order' => 'ASC',
   'child_of = 1'
  );

 $categories=  get_categories($args); 
  foreach ($categories as $category) {
  	  if($category->parent == 3){
  	  	   $view.='<div class="fl w80 cBox">
  	  	   	   		<a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>
  	  	   	   		<img alt="Ringtunes" src="http://wap.vinaphone.com.vn/theme/240/v-home/ringtunes.gif" />
  	  	   	   		</a><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '><p>'.$category->name.'</p></a> </div>';
  	  	  
  	  }
  }
  echo '<div class="fl w240 con_box">'.$view.'</div>';
 
?>

	</body>
</html>